package com.yydream.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yydream.common.utils.R;
import com.yydream.dto.SysCategoryDTO;
import com.yydream.dto.SysCategoryPageDTO;
import com.yydream.entity.SysCategoryEntity;

import java.util.List;

public interface SysCategoryService extends IService<SysCategoryEntity> {
    R queryById(Long id);

    R pageList(SysCategoryPageDTO req);

    R insert(SysCategoryDTO req);

    R update(SysCategoryDTO req);

    R deleteById(Long[] ids);

    R bashInsertByNames(List<String> names);
}
